<template>
  <div class="wrap">
     <h1>子页面</h1>
     <button @click="$router.back()">返回</button>
  </div>
 </template>
 
 <script>
   export default {
 
   }
 </script>
 
 <style lang="less" scoped>
 .wrap{
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   width: 100vw;
   height: 100vh;
   color: #fff;
   background-color: brown;
 }
 </style>